package com.leruan.aasimp.util;

import java.util.UUID;

public class StringUtil {

	
	/**
	 * 通过该方法用于得到UUID的字符串
	 * @return
	 */
	public static String getUUID() {
		String s = UUID.randomUUID().toString();
		return s.substring(0, 8) + s.substring(9, 13) + s.substring(14, 18)
				+ s.substring(19, 23) + s.substring(24);
	}


	public static void main(String[] args) {
		System.out.println(getUUID());
	}
}
